﻿<div class="Section">
    <div class="SectionHeading">
        Pending events
        <div class="SectionHeadingMenu">
            Group: | <a href="">All available</a>
        </div>
    </div>
    <div class="SectionContent">
        <table class="DataTable">
            <tr>
                <th>
                    Date
                </th>
                <th>
                    Event name
                </th>
                <th>
                    Registered
                </th>
                <th>
                    Group
                </th>
            </tr>
            @{
                Random rand = new Random();
                int prevRand = 0;
                string[] setOfActions = { "Gemini", "Quadro", "Google", "Ipedos" }; 
            }
            @for (int i = 0; i < 10; i++)
            {
                <tr>
                    @{prevRand = prevRand + (rand.Next() % 10);}
                    <td>
                        <a href="">@System.DateTime.Now.AddDays(prevRand).ToString("yyyy-MM-dd")</a>
                    </td>
                    <td>
                        Event number @(i + 1)
                    </td>
                    <td>@(rand.Next() % 500)
                    </td>
                    <td>@setOfActions[rand.Next() % 4]
                    </td>
                </tr>
            }
        </table>
    </div>
</div>
